package com.veryGood.domain.pojo;

import lombok.Data;

@Data
public class EmployeeInfo {
    private Integer id;
    private String name;
    private String sex;
    private Integer age;
    private String phone;
    private String address;
    private String position;
    private Integer status; // 0:离职 1:在职
    private Integer userId; // 外键：管理员表

    // 注意：由于userId与AdminInfo有关联，你可能还想在EmployeeInfo中有一个AdminInfo的引用，而不是仅仅一个userId。
    // 但这取决于你的具体需求和如何使用这两个实体。

    // Getters, Setters, Constructors...

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }
}